from operations.anonymous_home_operation import AnonymousHomeOper
from time import sleep


class AnonymousHomeScenarios:
    def __init__(self, driver):
        self.oper = AnonymousHomeOper(driver)

    def select_language(self):
        self.oper.click_language()
        sleep(2)
        self.oper.click_chinese()

    def login(self):
        self.oper.click_login_btn()
